package com.tmobile.databaseprepare;

public class Constants {
	public static final String PREF_CLICK_AD_OR_NOT_KEY = "PREF_CLICK_AD_OR_NOT";
	public static final long TIME_RANGE_DISABLE_AD = 2 * 24 * 60 * 60 * 1000; // ms

	public static final String[] filePath = { "mmtt12.epub" };
	// , "mmtt2.epub",
	// "mmtt3.epub", "mmtt4.epub", "mmtt5.epub", "mmtt6.sepub",
	// "mmtt7.epub", "mmtt8.epub", "mmtt9.epub", "mmtt10.epub" };

	public static final String[] listMenu = { "Thêm truyện", "Phản hồi" };
	// cac thong tin cau hinh
	public static final String PREF_FONT_SIZE = "PREF_FONT_SIZE";// luu kich
																	// thuoc
																	// font chu
	public static final String PREF_BOOKMARK_SPINE = "PREF_BOOKMARK_SPINE"; // luu
																			// chuong
																			// dang
																			// doc
	public static final String PREF_SHOW_RATE_POPUP = "PREF_SHOW_RATE_POPUP";
	public static final String BROADCAST_RECEIVER_KEY = "my-event";
	public static final String BROADCAST_MESSAGE_FONT_SIZE = "BROADCAST_MESSAGE_FONT_SIZE";
	// --------------------database-----------------------------//s
	public static final String DATABASE_NAME = "db.db";
	public static final int DATABASE_VERSION = 3;
	public static final String BOOK_TABLE = "BOOK_TABLE";
	public static final String BOOK_ID = "BOOK_ID";
	public static final String BOOK_NUMBER = "BOOK_NUMBER";// tap 1 - tap 2 -
															// tap 3
	public static final String BOOK_CHAPTER_TITLE = "BOOK_CHAPTER_TITLE"; // 1-2-3
	public static final String BOOK_CHAPTER_CONTENT = "BOOK_CHAPTER_CONTENT";// noi
																				// dung
																				// chuong
																				// 1

	public static final String CREATE_TABLE_BOOK = "create table IF NOT EXISTS "
			+ BOOK_TABLE
			+ "("
			+ BOOK_ID
			+ " integer primary key autoincrement, "
			+ BOOK_NUMBER
			+ " integer, "
			+ BOOK_CHAPTER_TITLE
			+ " text, "
			+ BOOK_CHAPTER_CONTENT + " text" + ");";
}
